<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ownedcompany')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ownedcompany" data-rule="required" class="form-control" name="row[ownedcompany]" type="text" value="{$row.ownedcompany}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payyear')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payyear" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM" data-use-current="true" name="row[payyear]" type="text" value="{$row.payyear}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Caozyear')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-caozyear" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM" data-use-current="true" name="row[caozyear]" type="text" value="{$row.caozyear}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Idnumber')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-idnumber" data-rule="required" class="form-control" name="row[idnumber]" type="text" value="{$row.idnumber}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('客户姓名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('客户电话')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required;mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('银行卡号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bankcardnumber" data-rule="required" class="form-control" name="row[bankcardnumber]" type="text" value="{$row.bankcardnumber}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sbbase')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sbbase" data-rule="required" class="form-control valuechanged" name="row[sbbase]" type="number" value="{$row.sbbase}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gjjbase')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gjjbase" data-rule="required" class="form-control valuechanged" name="row[gjjbase]" type="number" value="{$row.gjjbase}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Basewages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-basewages" data-rule="required" class="form-control valuechanged" name="row[basewages]" type="number" value="{$row.basewages}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bonuses')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bonuses" data-rule="required" class="form-control valuechanged" name="row[bonuses]" type="number" value="{$row.bonuses}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Allowance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-allowance" data-rule="required" class="form-control valuechanged" name="row[allowance]" type="number" value="{$row.allowance}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Overtimepay')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-overtimepay" data-rule="required" class="form-control valuechanged" name="row[overtimepay]" type="number" value="{$row.overtimepay}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deductions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deductions" data-rule="required" class="form-control valuechanged" name="row[deductions]" type="number" value="{$row.deductions}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Totalwages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-totalwages" data-rule="required" disabled="disabled" class="form-control" name="row[totalwages]" type="number" value="{$row.totalwages}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('D_pension')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-d_pension" data-rule="required" disabled="disabled" class="form-control" name="row[d_pension]" type="number" value="{$row.d_pension}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('D_yiliao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-d_yiliao" data-rule="required" disabled="disabled" class="form-control" name="row[d_yiliao]" type="number" value="{$row.d_yiliao}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('D_shiye')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-d_shiye" data-rule="required" disabled="disabled" class="form-control" name="row[d_shiye]" type="number" value="{$row.d_shiye}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('D_shengyu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-d_shengyu" data-rule="required" disabled="disabled" class="form-control" name="row[d_shengyu]" type="number" value="{$row.d_shengyu}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('D_gongshang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-d_gongshang" data-rule="required" disabled="disabled" class="form-control" name="row[d_gongshang]" type="number" value="{$row.d_gongshang}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('D_chanbao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-d_chanbao" data-rule="required" disabled="disabled" class="form-control" name="row[d_chanbao]" type="number" value="{$row.d_chanbao}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('D_gjj')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-d_gjj" data-rule="required" disabled="disabled" class="form-control" name="row[d_gjj]" type="number" value="{$row.d_gjj}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('D_heji')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-d_heji" data-rule="required" disabled="disabled" class="form-control" name="row[d_heji]" type="number" value="{$row.d_heji}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_pension')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_pension" data-rule="required" disabled="disabled" class="form-control" name="row[s_pension]" type="number" value="{$row.s_pension}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_yiliao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_yiliao" data-rule="required" disabled="disabled" class="form-control" name="row[s_yiliao]" type="number" value="{$row.s_yiliao}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_shiye')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_shiye" data-rule="required" disabled="disabled" class="form-control" name="row[s_shiye]" type="number" value="{$row.s_shiye}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_gjj')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_gjj" data-rule="required" disabled="disabled" class="form-control" name="row[s_gjj]" type="number" value="{$row.s_gjj}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_heji')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_heji" data-rule="required" disabled="disabled" class="form-control" name="row[s_heji]" type="number" value="{$row.s_heji}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Y_wages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-y_wages" data-rule="required" disabled="disabled" class="form-control" name="row[y_wages]" type="number" value="{$row.y_wages}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zxkc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zxkc" data-rule="required" class="form-control" name="row[zxkc]" type="number" value="{$row.zxkc}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tax')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tax" data-rule="required" disabled="disabled" class="form-control" name="row[tax]" type="number" value="{$row.tax}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_wages1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-r_wages1" data-rule="required" disabled="disabled" class="form-control" name="row[r_wages1]" type="number" value="{$row.r_wages1}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subsidies')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subsidies" data-rule="required" class="form-control valuechanged" name="row[subsidies]" type="number" value="{$row.subsidies}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Withholding')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withholding" data-rule="required" class="form-control valuechanged" name="row[withholding]" type="number" value="{$row.withholding}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('R_wages2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-r_wages2" data-rule="required" disabled="disabled" class="form-control" name="row[r_wages2]" type="number" value="{$row.r_wages2}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Year_end_award')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-year_end_award" data-rule="required" class="form-control valuechanged" name="row[year_end_award]" type="number" value="{$row.year_end_award}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Year_end_award_tax')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-year_end_award_tax" data-rule="required" class="form-control valuechanged" name="row[year_end_award_tax]" type="number" value="{$row.year_end_award_tax}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Year_end_award_real')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-year_end_award_real" data-rule="required" class="form-control valuechanged" name="row[year_end_award_real]" type="number" value="{$row.year_end_award_real}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Compensation')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-compensation" data-rule="required" class="form-control valuechanged" name="row[compensation]" type="number" value="{$row.compensation}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Compensation_tax')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-compensation_tax" data-rule="required" class="form-control valuechanged" name="row[compensation_tax]" type="number" value="{$row.compensation_tax}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Compensation_real')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-compensation_real" data-rule="required" class="form-control valuechanged" name="row[compensation_real]" type="number" value="{$row.compensation_real}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Totalamount_z')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-totalamount_z" data-rule="required" disabled="disabled" class="form-control" name="row[totalamount_z]" type="number" value="{$row.totalamount_z}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ffyh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ffyh" data-rule="required" class="form-control" name="row[ffyh]" type="text" value="{$row.ffyh}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Managementfee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-managementfee" data-rule="required" class="form-control" name="row[managementfee]" type="number" value="{$row.managementfee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Totalamount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-totalamount" data-rule="required" class="form-control" name="row[totalamount]" type="number" value="{$row.totalamount}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Paynote')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-paynote" class="form-control " rows="5" name="row[paynote]" cols="50">{$row.paynote}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Paystatus')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="paystatusList" item="vo"}
                <label for="row[paystatus]-{$key}"><input id="row[paystatus]-{$key}" name="row[paystatus]" type="radio" value="{$key}" {in name="key" value="$row.paystatus"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
